<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Reranker Framework (ReFr): reranker::VarMapBase Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Reranker Framework (ReFr)
   
   </div>
   <div id="projectbrief">Reranking framework for structure prediction and discriminative language modeling</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespacereranker.html">reranker</a>      </li>
      <li class="navelem"><a class="el" href="classreranker_1_1_var_map_base.html">VarMapBase</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle">
<div class="title">reranker::VarMapBase Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="reranker::VarMapBase" -->
<p>A base class for a mapping from variables of a specific type to their values.  
 <a href="classreranker_1_1_var_map_base.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="environment_8_h_source.html">environment.H</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for reranker::VarMapBase:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classreranker_1_1_var_map_base.png" usemap="#reranker::VarMapBase_map" alt=""/>
  <map id="reranker::VarMapBase_map" name="reranker::VarMapBase_map">
<area href="classreranker_1_1_var_map.html" title="A container to hold the mapping between named variables of a specific type and their values..." alt="reranker::VarMap&lt; T &gt;" shape="rect" coords="0,56,144,80"/>
</map>
 </div></div>

<p><a href="classreranker_1_1_var_map_base-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_var_map_base.html#a9b2d8d49539deaff0862a1cac387aad7">VarMapBase</a> (const string &amp;name, <a class="el" href="classreranker_1_1_environment.html">Environment</a> *env, bool is_primitive)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a base class for a concrete implementation providing a mapping from variables of a particular type to their values.  <a href="#a9b2d8d49539deaff0862a1cac387aad7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_var_map_base.html#a0d49848ea240d99d8e99b38af0130564">~VarMapBase</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_var_map_base.html#ac37ba67371f01d047550c6fc55177d37">IsPrimitive</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether this instance contains primitive or primtive vector variables.  <a href="#ac37ba67371f01d047550c6fc55177d37"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual const string &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_var_map_base.html#acf4c7614b477b3f986c0c1e7d9551ae0">Name</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the type name of the variables of this instance.  <a href="#acf4c7614b477b3f986c0c1e7d9551ae0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_var_map_base.html#af9d31b9fe4a4a5b6b30ea968fd59ddf5">Defined</a> (const string &amp;varname) const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether the specified variable has a definition in this environment.  <a href="#af9d31b9fe4a4a5b6b30ea968fd59ddf5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_var_map_base.html#a2870abd4bc8ad1d925fc304acb44417d">ReadAndSet</a> (const string &amp;varname, <a class="el" href="classreranker_1_1_stream_tokenizer.html">StreamTokenizer</a> &amp;st)=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the next value (primitive or spec for constructing a <a class="el" href="classreranker_1_1_factory.html">Factory</a>-constructible object) from the specified stream tokenizer and sets the specified variable to that value.  <a href="#a2870abd4bc8ad1d925fc304acb44417d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_var_map_base.html#a9e4f03b385dd93614a7a870241b6dcac">Print</a> (ostream &amp;os) const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Prints out a human-readable string to the specified output stream containing the variables, their type and, if primitive, their values.  <a href="#a9e4f03b385dd93614a7a870241b6dcac"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classreranker_1_1_var_map_base.html">VarMapBase</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_var_map_base.html#ad8a03d5cb3c186131e9af106d59bf751">Copy</a> (<a class="el" href="classreranker_1_1_environment.html">Environment</a> *env) const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a newly constructed copy of this <a class="el" href="classreranker_1_1_var_map.html" title="A container to hold the mapping between named variables of a specific type and their values...">VarMap</a>.  <a href="#ad8a03d5cb3c186131e9af106d59bf751"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_var_map_base.html#a4378638e3959e3b98135a90cbee819ea">SetMembers</a> (const string &amp;name, <a class="el" href="classreranker_1_1_environment.html">Environment</a> *env, bool is_primitive)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">To allow proper implementation of Copy in <a class="el" href="classreranker_1_1_var_map_base.html" title="A base class for a mapping from variables of a specific type to their values.">VarMapBase</a> implementation, since we don't get copying of base class' members for free.  <a href="#a4378638e3959e3b98135a90cbee819ea"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_var_map_base.html#aa262c6f13b3e83d428d3afcb1a5864ca">name_</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The type name of this <a class="el" href="classreranker_1_1_var_map.html" title="A container to hold the mapping between named variables of a specific type and their values...">VarMap</a>.  <a href="#aa262c6f13b3e83d428d3afcb1a5864ca"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classreranker_1_1_environment.html">Environment</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_var_map_base.html#aa24cb62b1c8aa7cf4049772f35712944">env_</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The <a class="el" href="classreranker_1_1_environment.html" title="An interface for an environment in which variables of various types are mapped to their values...">Environment</a> that holds this <a class="el" href="classreranker_1_1_var_map.html" title="A container to hold the mapping between named variables of a specific type and their values...">VarMap</a> instance.  <a href="#aa24cb62b1c8aa7cf4049772f35712944"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_var_map_base.html#a6b1e6b981ae86d5acfb9889dbc69c89d">is_primitive_</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether this <a class="el" href="classreranker_1_1_var_map.html" title="A container to hold the mapping between named variables of a specific type and their values...">VarMap</a> instance holds variables of primitive type or vector of primitives.  <a href="#a6b1e6b981ae86d5acfb9889dbc69c89d"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>A base class for a mapping from variables of a specific type to their values. </p>

<p>Definition at line <a class="el" href="environment_8_h_source.html#l00065">65</a> of file <a class="el" href="environment_8_h_source.html">environment.H</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a9b2d8d49539deaff0862a1cac387aad7"></a><!-- doxytag: member="reranker::VarMapBase::VarMapBase" ref="a9b2d8d49539deaff0862a1cac387aad7" args="(const string &amp;name, Environment *env, bool is_primitive)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classreranker_1_1_var_map_base.html#a9b2d8d49539deaff0862a1cac387aad7">reranker::VarMapBase::VarMapBase</a> </td>
          <td>(</td>
          <td class="paramtype">const string &amp;&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classreranker_1_1_environment.html">Environment</a> *&#160;</td>
          <td class="paramname"><em>env</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>is_primitive</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructs a base class for a concrete implementation providing a mapping from variables of a particular type to their values. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>the type name of the variables in this instance </td></tr>
    <tr><td class="paramname">env</td><td>the <a class="el" href="classreranker_1_1_environment.html">Environment </a> that wraps this <a class="el" href="classreranker_1_1_var_map_base.html" title="A base class for a mapping from variables of a specific type to their values.">VarMapBase</a> instance </td></tr>
    <tr><td class="paramname">is_primitive</td><td>whether this instance contains primitive or primitive vector variables </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="environment_8_h_source.html#l00075">75</a> of file <a class="el" href="environment_8_h_source.html">environment.H</a>.</p>

</div>
</div>
<a class="anchor" id="a0d49848ea240d99d8e99b38af0130564"></a><!-- doxytag: member="reranker::VarMapBase::~VarMapBase" ref="a0d49848ea240d99d8e99b38af0130564" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classreranker_1_1_var_map_base.html#a0d49848ea240d99d8e99b38af0130564">reranker::VarMapBase::~VarMapBase</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="environment_8_h_source.html#l00078">78</a> of file <a class="el" href="environment_8_h_source.html">environment.H</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ad8a03d5cb3c186131e9af106d59bf751"></a><!-- doxytag: member="reranker::VarMapBase::Copy" ref="ad8a03d5cb3c186131e9af106d59bf751" args="(Environment *env) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classreranker_1_1_var_map_base.html">VarMapBase</a>* <a class="el" href="classreranker_1_1_var_map_base.html#ad8a03d5cb3c186131e9af106d59bf751">reranker::VarMapBase::Copy</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classreranker_1_1_environment.html">Environment</a> *&#160;</td>
          <td class="paramname"><em>env</em></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns a newly constructed copy of this <a class="el" href="classreranker_1_1_var_map.html" title="A container to hold the mapping between named variables of a specific type and their values...">VarMap</a>. </p>

<p>Implemented in <a class="el" href="classreranker_1_1_var_map.html#a1e717f1d6bf0be3c038a8e5de4f3c238">reranker::VarMap&lt; T &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="af9d31b9fe4a4a5b6b30ea968fd59ddf5"></a><!-- doxytag: member="reranker::VarMapBase::Defined" ref="af9d31b9fe4a4a5b6b30ea968fd59ddf5" args="(const string &amp;varname) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool <a class="el" href="classreranker_1_1_var_map_base.html#af9d31b9fe4a4a5b6b30ea968fd59ddf5">reranker::VarMapBase::Defined</a> </td>
          <td>(</td>
          <td class="paramtype">const string &amp;&#160;</td>
          <td class="paramname"><em>varname</em></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns whether the specified variable has a definition in this environment. </p>

<p>Implemented in <a class="el" href="classreranker_1_1_var_map.html#a9962a54a8e138ea24f49fdb92df108dd">reranker::VarMap&lt; T &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="ac37ba67371f01d047550c6fc55177d37"></a><!-- doxytag: member="reranker::VarMapBase::IsPrimitive" ref="ac37ba67371f01d047550c6fc55177d37" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool <a class="el" href="classreranker_1_1_var_map_base.html#ac37ba67371f01d047550c6fc55177d37">reranker::VarMapBase::IsPrimitive</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns whether this instance contains primitive or primtive vector variables. </p>

<p>Definition at line <a class="el" href="environment_8_h_source.html#l00082">82</a> of file <a class="el" href="environment_8_h_source.html">environment.H</a>.</p>

</div>
</div>
<a class="anchor" id="acf4c7614b477b3f986c0c1e7d9551ae0"></a><!-- doxytag: member="reranker::VarMapBase::Name" ref="acf4c7614b477b3f986c0c1e7d9551ae0" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const string&amp; <a class="el" href="classreranker_1_1_var_map_base.html#acf4c7614b477b3f986c0c1e7d9551ae0">reranker::VarMapBase::Name</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the type name of the variables of this instance. </p>

<p>Definition at line <a class="el" href="environment_8_h_source.html#l00084">84</a> of file <a class="el" href="environment_8_h_source.html">environment.H</a>.</p>

</div>
</div>
<a class="anchor" id="a9e4f03b385dd93614a7a870241b6dcac"></a><!-- doxytag: member="reranker::VarMapBase::Print" ref="a9e4f03b385dd93614a7a870241b6dcac" args="(ostream &amp;os) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void <a class="el" href="classreranker_1_1_var_map_base.html#a9e4f03b385dd93614a7a870241b6dcac">reranker::VarMapBase::Print</a> </td>
          <td>(</td>
          <td class="paramtype">ostream &amp;&#160;</td>
          <td class="paramname"><em>os</em></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Prints out a human-readable string to the specified output stream containing the variables, their type and, if primitive, their values. </p>

<p>Implemented in <a class="el" href="classreranker_1_1_var_map.html#a13dfbc0f28af2b2cb6d8a808519681a4">reranker::VarMap&lt; T &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="a2870abd4bc8ad1d925fc304acb44417d"></a><!-- doxytag: member="reranker::VarMapBase::ReadAndSet" ref="a2870abd4bc8ad1d925fc304acb44417d" args="(const string &amp;varname, StreamTokenizer &amp;st)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void <a class="el" href="classreranker_1_1_var_map_base.html#a2870abd4bc8ad1d925fc304acb44417d">reranker::VarMapBase::ReadAndSet</a> </td>
          <td>(</td>
          <td class="paramtype">const string &amp;&#160;</td>
          <td class="paramname"><em>varname</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classreranker_1_1_stream_tokenizer.html">StreamTokenizer</a> &amp;&#160;</td>
          <td class="paramname"><em>st</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reads the next value (primitive or spec for constructing a <a class="el" href="classreranker_1_1_factory.html">Factory</a>-constructible object) from the specified stream tokenizer and sets the specified variable to that value. </p>

<p>Implemented in <a class="el" href="classreranker_1_1_var_map.html#acc6b1af4c1e73585fe3b686ca5ac1ade">reranker::VarMap&lt; T &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="a4378638e3959e3b98135a90cbee819ea"></a><!-- doxytag: member="reranker::VarMapBase::SetMembers" ref="a4378638e3959e3b98135a90cbee819ea" args="(const string &amp;name, Environment *env, bool is_primitive)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classreranker_1_1_var_map_base.html#a4378638e3959e3b98135a90cbee819ea">reranker::VarMapBase::SetMembers</a> </td>
          <td>(</td>
          <td class="paramtype">const string &amp;&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classreranker_1_1_environment.html">Environment</a> *&#160;</td>
          <td class="paramname"><em>env</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>is_primitive</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>To allow proper implementation of Copy in <a class="el" href="classreranker_1_1_var_map_base.html" title="A base class for a mapping from variables of a specific type to their values.">VarMapBase</a> implementation, since we don't get copying of base class' members for free. </p>

<p>Definition at line <a class="el" href="environment_8_h_source.html#l00107">107</a> of file <a class="el" href="environment_8_h_source.html">environment.H</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="aa24cb62b1c8aa7cf4049772f35712944"></a><!-- doxytag: member="reranker::VarMapBase::env_" ref="aa24cb62b1c8aa7cf4049772f35712944" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classreranker_1_1_environment.html">Environment</a>* <a class="el" href="classreranker_1_1_var_map_base.html#aa24cb62b1c8aa7cf4049772f35712944">reranker::VarMapBase::env_</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The <a class="el" href="classreranker_1_1_environment.html" title="An interface for an environment in which variables of various types are mapped to their values...">Environment</a> that holds this <a class="el" href="classreranker_1_1_var_map.html" title="A container to hold the mapping between named variables of a specific type and their values...">VarMap</a> instance. </p>

<p>Definition at line <a class="el" href="environment_8_h_source.html#l00116">116</a> of file <a class="el" href="environment_8_h_source.html">environment.H</a>.</p>

</div>
</div>
<a class="anchor" id="a6b1e6b981ae86d5acfb9889dbc69c89d"></a><!-- doxytag: member="reranker::VarMapBase::is_primitive_" ref="a6b1e6b981ae86d5acfb9889dbc69c89d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classreranker_1_1_var_map_base.html#a6b1e6b981ae86d5acfb9889dbc69c89d">reranker::VarMapBase::is_primitive_</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Whether this <a class="el" href="classreranker_1_1_var_map.html" title="A container to hold the mapping between named variables of a specific type and their values...">VarMap</a> instance holds variables of primitive type or vector of primitives. </p>

<p>Definition at line <a class="el" href="environment_8_h_source.html#l00119">119</a> of file <a class="el" href="environment_8_h_source.html">environment.H</a>.</p>

</div>
</div>
<a class="anchor" id="aa262c6f13b3e83d428d3afcb1a5864ca"></a><!-- doxytag: member="reranker::VarMapBase::name_" ref="aa262c6f13b3e83d428d3afcb1a5864ca" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string <a class="el" href="classreranker_1_1_var_map_base.html#aa262c6f13b3e83d428d3afcb1a5864ca">reranker::VarMapBase::name_</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The type name of this <a class="el" href="classreranker_1_1_var_map.html" title="A container to hold the mapping between named variables of a specific type and their values...">VarMap</a>. </p>

<p>Definition at line <a class="el" href="environment_8_h_source.html#l00114">114</a> of file <a class="el" href="environment_8_h_source.html">environment.H</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="environment_8_h_source.html">environment.H</a></li>
</ul>
</div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Tue Apr 9 2013 11:56:30 for Reranker Framework (ReFr) by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
